package com.io.example.demoparent.builder;

// 抽象的建造者
public abstract class HouseBuilder {


    protected House house = new House();

    //将建造的流程写好

    public abstract void buildBasic();

    public abstract void buildWalls();

    public abstract void roofed();


    //建造房子，将产品放回
    public House build() {

        return house;
    }

}
